package com.wxg.junit.appendix.B;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

import com.wxg.junit.appendix.B.InterceptorRunner.InterceptorClasses;

/**
 * {@link Assert}
 *
 * @author Wxg
 */

@RunWith(InterceptorRunner.class)
@InterceptorClasses(value = {SampleLoggingInterceptor.class})
public class TestCustomRunnerWithLoggingInterceptor {
    @Before
    public void setUp() {
        System.out.println("Real before");
    }

    @Test
    public void testDummy() {
        assertTrue(true);
        System.out.println("Some text for test purpose");
    }

    @After
    public void tearDown() {
        System.out.println("Real after");
    }
}
